<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/content/mytags.jsp"%>
<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>用户列表</title>
		<t:resource types="jquery,lhgdialog,easyui" />
	</head>
	<body>
		<ui:datagrid idField="id" action="user.do?users-org-datagrid&orgId=${orgId }" title="用户列表" name="usersInOrgList">
			<ui:column title="编号" field="id" hidden="true" />
			<ui:column title="用户账号" field="userAccount" query="true" />
			<ui:column title="用户姓名" field="userName" />
			<ui:column title="用户状态" field="state" dictionary="userState" />
			<ui:column title="备注" field="remark" />
			<ui:column field="opt" title="操作" align="center" />
			<ui:deleteOpt url="organization.do?deleteUserOnOrg&userId={id}&orgId=${orgId }" permiCode="system:useronorg:delete" message="确定要删除用户[{userAccount}][{userName}]吗？" title="删除用户" />
			<ui:toolbar iconCls="add" title="新增已有用户" permiCode="system:user:add:org" url="organization.do?addUser&orgId=${orgId }" funname="add" />
		</ui:datagrid>
	</body>
</html>